package top.superflow.flow.load

import top.superflow.flow.config.ResourceConfig
import top.superflow.json.util.JsonUtils

class ResourceLoader  extends Loader[ResourceConfig]{
  
  def load(json : Any) : ResourceConfig = {
    JsonUtils.readJson[ResourceConfig](json, classOf[ResourceConfig])
  }
}
